package com.seven.z7.logviewer;

import java.awt.Dialog;
import java.awt.Dimension;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import java.awt.event.WindowAdapter;
import java.awt.event.WindowEvent;

import javax.swing.JFrame;

/**
 * 
 * @author aprokofjev
 * 
 */
public class FindMsbbox extends Dialog implements ActionListener {

	/**
	 * 
	 */
	private static final long serialVersionUID = 4737686877766101822L;

	public FindMsbbox(JFrame f) {
		super(f);
		Dimension d = getToolkit().getScreenSize();
		setLocation(d.width / 3, d.height / 3);
		addWindowListener(new WindowAdapter() {
			@Override
			public void windowClosing(WindowEvent e) {
				super.windowClosing(e);
				dispose();
			}
		});
		setTitle("Find");

		// GroupLayout layout = new GroupLayout(this);
		// setLayout(layout);
		// layout.setVerticalGroup(layout.createSequentialGroup().addComponent(new
		// Button("a")));

		// add(new Button("a"));
		// add(new Button("aa"));
		// add(new Button("aaa"));
	}

	public void actionPerformed(ActionEvent e) {
	}
}
